/*
-------------------------------------------------
    Rodeo Game Engine
    Rodeo Primitive Module
    GeometryData.h - header file
    Copyright(c) Marcin Goryca
    This file contains basic geometric data types,
    triangle, box, circle
-------------------------------------------------
*/
#ifndef RODEO_PRIMITIVE_GEOMETRYDATA_H_
#define RODEO_PRIMITIVE_GEOMETRYDATA_H_

namespace rodeoprimitive
{
// --- A triangle --- //
extern GLfloat triangle[] = 
{
    -1.0f, -1.0f, 0.0f,
    1.0f, -1.0f, 0.0f,
    0.0f, 1.0f, 0.0f
};

// ---- A rectangle ---- //
GLfloat rectangle[] = 
{
    -0.5f, -0.5f, 0.0f,
    0.5f, -0.5f, 0.0f,
    0.5f, 0.5f, 0.0f,
    -0.5f, 0.5f, 0.0f
};

// ---- Rectangle Elements (indexes) ---- //
//GLushort rectangle_elements[] = 
//{
//    0, 1, 2, 3
//};

// ---- A box ---- //
extern GLfloat box[] = 
{
    //Front Side
    -1.0f, -1.0f, 1.0f,
    1.0f, -1.0f, 1.0f,
    1.0f, 1.0f, 1.0f,
    -1.0f, 1.0f, 1.0f,

    //Back Side
    -1.0f, -1.0f, -1.0f,
    1.0f, -1.0f, -1.0f,
    1.0f, 1.0f, -1.0f,
    -1.0f, 1.0f, -1.0f
};
}    // end of rodeoprimitive namespace
#endif    //RODEO_PRIMITIVE_GEOMETRYDATA_H_